package com.scs.application.modules.dept.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.dept.entity.Demand;
import com.scs.application.modules.dept.entity.DemandSum;
import com.scs.application.modules.purchase.entity.Order;

import java.util.List;

/**
 * <p>
 *  Service
 * </p>
 */

public interface DemandService extends IBaseService<Demand> {

    DemandSum toDemandSum(List<Demand> demandAutos);

    /**
     * 需求转订单
     * @param demand
     * @return
     */
    List<Order> convertDemandToOrders(Demand demand);
}
